<template>
	<view class="container">
		<view class="timer-nav">
			<view @click="toOverAll" class="nav-back-icon">
				<tobackVue :ref="qwRef"></tobackVue>
			</view>
			<view class="nav-back-text">驱蚊设置</view>
		</view>
	</view>
</template>

<script>
	import tobackVue from "../../componets/toback/toback.vue";
	export default {
		data() {
			return {
				qwRef:"qwRef"
			}
		},
		components:{
			tobackVue
		},
		methods: {
			toOverAll(){
				uni.$refs.qwRef.toBack();
			},
		}
	}
</script>

<style lang="scss">
	.container{
		margin: 0;
		padding: 0;
		.timer-nav{
			margin-top: 44rpx;
			margin-bottom: 80rpx;
			display: grid;
			grid-template-columns: 1fr 4fr;
			.nav-back-icon {
				margin-left: 30px;
			}
			.nav-back-text {
				display: flex;
				justify-content: center;
				font-size: 20px;
				line-height: 26px;
				align-items: center;
				font-weight: bold;
			}
		}
		
	}
</style>
